#include "node.h"

Node::Node(Node * other)
{
    m_id = other->m_id;
    m_pld = other-> m_pld;
    m_status = other->m_status;
    m_message = other->m_message;

    setParent(other->parent());
    setObjectName(other->objectName());
}

Node::Node(unsigned int id,int pld,bool status, QString message, QObject * parent)
    :QObject(parent),m_id(id),m_pld(pld), m_status(status),m_message(message)
{

}
